package com.stores.model;

import javax.jdo.JDOHelper;
import javax.jdo.PersistenceManager;
import javax.jdo.PersistenceManagerFactory;

public final class Db {
	private static final PersistenceManagerFactory pmfInstance = JDOHelper
			.getPersistenceManagerFactory("transactions-optional");

	/**
	 * 
	 */
	public Db() {
	}

	/***
	 * 
	 * @return
	 */
	public static PersistenceManager getPersistenceManager() {
		return pmfInstance.getPersistenceManager();
	}
}
